#!/bin/bash
# Copyrignt (c) maozhihua.com. All Rights Reserved.
# Author: Mao Zhihua<maozhihua@skyworth.com>
# Created Time: 2016-09-10 16:02:07
# Last Modified: 2016-11-02 16:01:57
# File Name: update_module_order.sh
# Description: 

source ./gl.sh

#body='{"id":1,"region_code":"all","clickable":2,"title":"晒单拿好礼111","banner_type":"web","pic_url":"https://fscdn.doubimeizhi.com/scloud/e/b/c/d725bad2001dd6c76a189dd6e0f69","web_url":"https://www.zhijianyaokong.com","starttick":1,"endtick":1499999999,"routers":"zhjt://app.zjdj.com/webin?http://www.zhijiandaojia.com","status":-1}'

body='{"id":1,"channel":"all"}'

curl -v -k "https://${host}/banner/admin/update?appkey=${appkey}" -d "${body}"


